package com.loveprogrammer.eternity.factory.template;

import java.util.List;

/**
 * @version 1.0.0
 * @description: 任务模板
 * @author: eric
 * @date: 2022-09-15 17:01
 **/
public class TaskTemplate {

    private int taskId;

    private String name;

    private String desc;

    private int type;

    private int value;

    // 后置任务
    private List<Integer> postTaskIds;

    // 前置任务
    private List<Integer> preTaskIds;

    // 触发条件
    private int triggerType;

    // 触发值
    private int triggerValue;

    // 奖励类型
    private int rewardType;

    // 奖励目标id 可能是装备 可能是宠物卵 可能是金币
    private int rewardTargetId;

    // 奖励的值 比如多少金币
    private int rewardTargetValue;

    public int getTaskId() {
        return taskId;
    }

    public void setTaskId(int taskId) {
        this.taskId = taskId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public List<Integer> getPostTaskIds() {
        return postTaskIds;
    }

    public void setPostTaskIds(List<Integer> postTaskIds) {
        this.postTaskIds = postTaskIds;
    }

    public List<Integer> getPreTaskIds() {
        return preTaskIds;
    }

    public void setPreTaskIds(List<Integer> preTaskIds) {
        this.preTaskIds = preTaskIds;
    }

    public int getTriggerType() {
        return triggerType;
    }

    public void setTriggerType(int triggerType) {
        this.triggerType = triggerType;
    }

    public int getTriggerValue() {
        return triggerValue;
    }

    public void setTriggerValue(int triggerValue) {
        this.triggerValue = triggerValue;
    }
}
